package cn.pn.project.client.user.fallback;


import cn.pn.project.client.user.AttentionFeign;
import cn.pn.project.pojo.user.Attention;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.sql.SQLException;
import java.util.List;

@Component
@RequestMapping("/attention/api")
public  class AttentionFeignFallback implements AttentionFeign {


    @Override
    public boolean addAttention(Attention attention) throws RuntimeException {
        return false;
    }

    @Override
    public List<Attention> findAttentionByUserIdAndStatus(Attention attention) throws RuntimeException {
        return null;
    }

    @Override
    public boolean removeAttention(Attention attention) throws RuntimeException {
        return false;
    }

    @Override
    public Attention findAttention(Attention attention) throws RuntimeException, SQLException {
        return null;
    }
}
